package model;

import java.util.Vector;

public class QuestionRepondue{

	private Question question; 
	private Vector<Reponse> reponsesChoisies;
	
	public QuestionRepondue(Question _question, Vector<Integer> _idReponsesChoisies){
		this.setQuestion(_question);
		this.setReponsesChoisies(reponsesChoisies);		
	}
	
	public QuestionRepondue(Question _question){
		this.setQuestion(_question);
		this.reponsesChoisies = new Vector<Reponse>();	
	}


	public Question getQuestion() {
		return question;
	}

	public void setQuestion(Question question) {
		this.question = question;
	}
	
	public Vector<Reponse> getReponsesChoisies() {
		return reponsesChoisies;
	}

	public void setReponsesChoisies(Vector<Reponse> reponsesChoisies) {
		this.reponsesChoisies = reponsesChoisies;
	}

	public void addReponse(Reponse reponse){
		this.reponsesChoisies.add(reponse);
	}

}
